package com.weifangfirecontrolformal.weifangfirecontrolformal.web.service.internetofthings.firefightingiot;

import cn.hutool.json.JSONObject;
import com.weifangfirecontrolformal.weifangfirecontrolformal.common.base.BaseService;
import com.weifangfirecontrolformal.weifangfirecontrolformal.support.model.RespEntity;
import com.weifangfirecontrolformal.weifangfirecontrolformal.support.utils.requestutil.HttpRequestUtil;
import org.springframework.stereotype.Service;

/**
 * @author Yang yu
 * @version 1.0
 * @date 2020/7/21 17:51
 */
@Service
public class WeChatService extends BaseService {
    /**
     * 阀值设置列表
     * @param
     * @return
     */
    public RespEntity weChatCode(JSONObject jsonParam) {
        jsonParam = HttpRequestUtil.commonHttpRequestParamConvert(getRequest());

        return fireFightingiotJava(jsonParam,"weChatCode","weChat");
    }
}
